﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true"
    CodeFile="products.aspx.cs" Inherits="admin_products" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <script type="text/javascript">
        function uploadfile(id) {
            window.open('fileupload.aspx?s=1&id=' + id, "上传产品图片", 'width=800,height=500');
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="upTable" runat="server" ChildrenAsTriggers="false" UpdateMode="Conditional"
        RenderMode="Inline">
        <ContentTemplate>
            <table class="tblist" border="0" cellpadding="0" cellspacing="0">
                <caption align="left" style="text-align: left;">
                    类型:
                    <asp:DropDownList ID="ddlType" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlType_SelectedIndexChanged" />
                </caption>
                <tr>
                    <th width="50px">
                        编号
                    </th>
                    <th width="50px">
                        类型
                    </th>
                    <th width="150px">
                        名称
                    </th>
                    <th width="150px">
                        图片
                    </th>
                    <th width="350px">
                        操作
                    </th>
                </tr>
                <asp:Literal ID="ltlTable" runat="server" />
                <tr>
                    <td colspan="6">
                        <asp:Literal ID="ltlNav" runat="server" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
